package com.smart.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Calender implements Serializable {
    private int term;
    private int week;

    private Date startday;

    private Date stopday;

    public int getTerm() {
        return term;
    }

    public void setTerm(int term) {
        this.term = term;
    }


    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    public Date getStartday() {
        return startday;
    }

    public void setStartday(Date startday) {
        this.startday = startday;
    }

    public Date getStopday() {
        return stopday;
    }

    public void setStopday(Date stopday) {
        this.stopday = stopday;
    }

    @Override
    public String toString() {
        return "Calender{" +
                "term=" + term +
                ", week=" + week +
                ", startday=" + startday +
                ", stopday=" + stopday +
                '}';
    }
}
